package com.ddd.framework.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 状态码枚举
 *
 * @author guowm
 */
@Getter
@AllArgsConstructor
public enum ResponseCode {
    /**
     * 成功
     */
    SUCCESS("200", "成功"),

    /**
     * 失败
     */
    FAIL("500", "失败");

    /**
     * 状态码
     */
    private final String code;

    /**
     * 提示语
     */
    private final String message;
}
